package com.upb.webserver.common.pojo.order;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;
import java.util.Set;

@Data
public class RspOrgOfWorkerOrderVO {
    private Integer orgId;
    private String orgName;
    private Integer belongCompanyId;
    private String belongCompanyName;

    //---------------------------
    //-----fsico properties------
    //---------------------------
    private List<Host> fiscoHosts;

    //----------------------------
    //-----fabric properties------
    //----------------------------
    private Host fabricCaHost;
    private Set<Host> fabricPeerHosts;
    private Set<Host> fabricOrderHosts;


    @Data
    @NoArgsConstructor
    @AllArgsConstructor
    public static class Host {
        private Integer hostId;
        private String hostIp;
        private Integer nodeCount;//fisco主机上部署节点数量

    }

}





